package cn.com.roy.thread.t7_6.threadgroup2;

public class MyThread extends Thread{
    private String num;
    public MyThread(MyThreadGroup group , String name, String num){
        super(group,name);
        this.num = num;
    }

    @Override
    public void run() {
        super.run();
        int numInt = Integer.parseInt(num);
        while(true){
            System.out.println("死循环中：" + Thread.currentThread().getName());

        }
    }
}
